package org.example.mytask.service.impl;

import org.example.mytask.dao.OutboundApplicationReviewMapper;
import org.example.mytask.domain.OutboundApplicationReview;
import org.example.mytask.service.OutboundApplicationReviewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OutboundApplicationReviewServiceImpl implements OutboundApplicationReviewService {
    @Autowired
    private OutboundApplicationReviewMapper outboundMapper;
    @Override
    public List<OutboundApplicationReview> findAll(OutboundApplicationReview outboundApplicationReview) {
        return outboundMapper.selectAll(outboundApplicationReview);
    }

    @Override
    public OutboundApplicationReview getById(int id){
        return outboundMapper.getById(id);
    }

    @Override
    public int update(OutboundApplicationReview outboundApplicationReview){
        return outboundMapper.update(outboundApplicationReview);
    }
}
